﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace EnterpriseInformation.Common
{
    public class SearchInputParamDTO
    {
        public SearchInputParamDTO()
        {
            Data = new SearchInputDTO();
        }
        public int skip { get; set; } = 0;
        public int size { get; set; } = 10;
        public SearchInputDTO Data { get; set; }
    }
    public class SearchInputDTO
    {
        //pageIndex: 1
        //pageSize: 20
        //searchKey: "腾讯"


        //pageIndex: 1
        //pageSize: 20
        //searchIndex: "multicondition"
        //searchKey: "{"name":"腾讯","opername":"腾讯","promoterlist":"腾讯","employeelist":"腾讯","featurelist":"腾讯","address":"腾讯","scope":"腾讯"}"
        public string scope { get; set; } //查询范围
        //filter: "{"r":[{"pr":"GD","cc":[440103]}]}"
        //pageIndex: 1
        //pageSize: 20
        //searchIndex: "multicondition"
        //searchKey: "{"name":"腾讯","opername":"腾讯","promoterlist":"腾讯","employeelist":"腾讯","featurelist":"腾讯","address":"腾讯","scope":"腾讯"}"
        public string province { get; set; } //省份
        //filter: "{"r":[{"pr":"GD"}],"i":["011"]}"
        public string industry { get; set; } //行业
        //filter: "{"d":[{"start":"20180101","end":"20181231","value":"2018"}],"i":["651"]}"
        public string year { get; set; } //成立年限

        //filter: "{"rc":[{"min":"0","max":"100","value":"0-100"}]}"
        public string principal { get; set; } //资本
        //filter: "{"s":["10","30","40","50","60","70","80","90","99","20"]}"
        public string status { get; set; } //状态
        //filter: "{"ct":["10","20","30","40","50","70","80","90","100","110"]}"
        public string companytype { get; set; } //企业类型
        //filter: "{"st":["0,4,10,11,12","1","3","5","10","11","12"]}"
        public string organization { get; set; } //企业类型
        //filter: "{"c":["CNY","USD","OTHER"]}"
        public string moneytype { get; set; } //资本类型
        //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        //filter: "{"f":["T"]}"   有，filter: "{"f":["N_T"]}"  无
        public string telephone { get; set; } //有无联系电话
        //filter: "{"f":["MN"]}"   有  filter: "{"f":["N_MN"]}" 没有
        public string mobile { get; set; } //
        //filter: "{"f":["N_MN","E"]}"   有，filter: "{"f":["N_MN","N_E"]}"  无
        public string email { get; set; } //
        //filter: "{"ic":[{"min":"0","max":"5","value":"0-5"},{"min":"5","max":"10","value":"5-10"},{"min":"10","max":"20","value":"10-20"},{"min":"20","max":"100","value":"20-100"},{"min":"100","max":"500","value":"100-500"},{"min":"500","max":"1000","value":"500-1000"},{"min":"1000","max":"99999","value":"1000-99999"}]}"
        public string insurance { get; set; } //参保人数
        //filter: "{"rl":["1","2","3","4","6","7","8"]}"
        public string financing { get; set; } //融资信息
        //filter: "{"rl":["1","2","3","4","6","7","8"],"ls":["2","7","6","501","1","301"]}"
        public string IPO { get; set; } //IPO
        //filter: "{"f":["TA"]}" A级   filter: "{"f":["N_TA"]}" 非A级
        public string taxeslevel { get; set; } //纳税信用
        //filter: "{"f":["TE"]}"  有   filter: "{"f":["N_TE"]}"  无
        public string  tender { get; set; } //有无投标
        //filter: "{"f":["CI"]}" 有  filter: "{"f":["N_CI"]}"  无
        

    }
}
